<script setup>
	// 在模板中启用 v-highlight
	const vHighlight = {
		mounted: (el) => {
			el.classList.add('is-highlight')
		}
	}
</script>

<template>
	<p v-highlight>This sentence is important!</p>
	<!-- <p v-color="#ee1199">自定义指令v-color</p> -->
</template>